package com.routz.nettydemo.customprotocol.entity;

import java.math.BigDecimal;
import java.util.Arrays;

/**
 * 脚环数据
 *      脚环编号 4byte
 *      保留字
 *      步数   3byte
 *      温度
 *      电压 距离
 */
public class BraceletData {
    private String braceletNum;
    private Byte keep;
    private String step;
    private BigDecimal temperature;
    private BigDecimal voltage;
    private Integer distance;

    public BraceletData() {
    }

    public BraceletData(String braceletNum, Byte keep, String step, BigDecimal temperature, BigDecimal voltage, Integer distance) {
        this.braceletNum = braceletNum;
        this.keep = keep;
        this.step = step;
        this.temperature = temperature;
        this.voltage = voltage;
        this.distance = distance;
    }

    public String getBraceletNum() {
        return braceletNum;
    }

    public void setBraceletNum(String braceletNum) {
        this.braceletNum = braceletNum;
    }

    public Byte getKeep() {
        return keep;
    }

    public void setKeep(Byte keep) {
        this.keep = keep;
    }

    public String getStep() {
        return step;
    }

    public void setStep(String step) {
        this.step = step;
    }

    public BigDecimal getTemperature() {
        return temperature;
    }

    public void setTemperature(BigDecimal temperature) {
        this.temperature = temperature;
    }

    public BigDecimal getVoltage() {
        return voltage;
    }

    public void setVoltage(BigDecimal voltage) {
        this.voltage = voltage;
    }

    public Integer getDistance() {
        return distance;
    }

    public void setDistance(Integer distance) {
        this.distance = distance;
    }
}
